{% extends 'layout.html'%}
{% block content %}
<div class="container">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">填写基本信息</h3>
        </div>
        <div class="panel-body">
            <form action="" method="POST"novalidate>
                {% csrf_token %}
                
                
                    
                    {% for fields in form%}
                        <div class="form-group">
                            <label for="">{{fields.label}}</label>
                             {{fields}}
                             <span style="color:red">{{fields.errors.0}}</span>
                        </div>
                       
                    {% endfor %}
                 
                   
                
                <button class="btn btn-info">提交</button>
               
            </form>
        </div>
    </div>
</div>
{% endblock%}